using UnityEngine;

namespace Crosstales.Common.Util
{
    // [Assembly-CSharp-firstpass.dll].Crosstales.Common.Util.CTHelper
    public class CTHelper : MonoBehaviour
    {
        // Fields
        private static Crosstales.Common.Util.CTHelper _Instance_k__BackingField;
        
        // Properties
        public static Crosstales.Common.Util.CTHelper Instance { get; set; }
        
        // Methods
        public static Crosstales.Common.Util.CTHelper get_Instance()
        {
            return (Crosstales.Common.Util.CTHelper)mem[536883595];
        }
        private static void set_Instance(Crosstales.Common.Util.CTHelper value)
        {
            mem2[0] = value;
        }
        private static void initialize()
        {
            if(mem[536883133] == 0)
            {
                    536882909 = 536882909;
            }
            
            mem2[0] = 1;
        }
        private static void create()
        {
            if(mem[536883133] == 0)
            {
                    536882909 = 536882909;
            }
            
            mem2[0] = 1;
            bool val_1 = Crosstales.Common.Util.BaseHelper.isEditorMode;
            UnityEngine.GameObject val_2 = 536886569;
            val_2 = new UnityEngine.GameObject(name:  -1610600863);
            Unknown val_3 = val_2.AddComponent<System.Object>();
            UnityEngine.Object.DontDestroyOnLoad(target:  val_2);
        }
        private void Awake()
        {
            mem2[0] = this;
        }
        private void OnDestroy()
        {
            if(mem[536883133] == 0)
            {
                    536882909 = 536882909;
            }
            
            mem2[0] = 0;
        }
        public CTHelper()
        {
        
        }
    
    }

}
